﻿<?xml version="1.0" encoding="utf-8" ?>
<Feature id="GoogleMapsFeature" name="Google Maps Feature">
	<BusinessObjects>
		<BusinessObject injects="CompanySettings">
			<Field name="googleMapKey" type="String"/>
		</BusinessObject>

		<BusinessObject type="MapSearch" key="id">
			<Field name="id" type="Guid" />
			<Field name="includeContacts" type="Boolean" />
			<Field name="includeEvents" type="Boolean" />
		</BusinessObject>
		
		<BusinessObject type="MapPoint">
			<Field name="meta" type="String" />
			<Field name="parent" type="BizObj"><NULL/></Field>
			<Field name="location" type="Address" />
		</BusinessObject>
	</BusinessObjects>
	<BusinessRules>
		<BusinessRule name="getGoogleMapCompanySettingsTemplate" security="disabled" postExtends="getCompanySettingsDisplayTemplate">
			<LocalClass name="GoogleMap.GoogleMapBizRule,ScsCore" />
		</BusinessRule>
		<BusinessRule name="getGoogleMapCompanySettingsDbFields" security="disabled" postExtends="getCompanySettingsDbFields">
			<LocalClass name="GoogleMap.GoogleMapBizRule,ScsCore" />
		</BusinessRule>
		
	</BusinessRules>

	<ClassFactory id="BizProcs">
		<Class type="GoogleMap.Gui.GoogleMapBizProc,ScsCore" name="gmap"/>
		<Class type="GoogleMap.Gui.GoogleMapSearchBizProc,ScsCore" name="gmapSearch"/>		
  </ClassFactory>


</Feature>